package com.ruimei.entitys.enums;

public enum Week
{
  MONDAY("星期一"),  TUESDAY("星期二"),  WEDNESDAY("星期三"),  THURSDAY("星期四"),  FRIDAY("星期五"),  SATURDAY("星期六"),  SUNDAY("星期日");
  
  private String name;
  
  public String getName()
  {
    return this.name;
  }
  
  public void setName(String name)
  {
    this.name = name;
  }
  
  private Week(String name)
  {
    this.name = name;
  }
  
  public static String getCurrentDayOfWeeks(String dayOfWeek)
  {
    String day = "";
    switch (dayOfWeek)
    {
    case "星期一": 
      day = "MONDAY";
      break;
    case "星期二": 
      day = "TUESDAY";
      break;
    case "星期三": 
      day = "WEDNESDAY";
      break;
    case "星期四": 
      day = "THURSDAY";
      break;
    case "星期五": 
      day = "FRIDAY";
      break;
    case "星期六": 
      day = "SATURDAY";
      break;
    case "星期日": 
      day = "SUNDAY";
    }
    return day;
  }
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\entitys\enums\Week.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */